{% extends "layouts/application.html" %}
{% block content %}
<div align="center">
  <DIV class=boxright>
    <DIV class=bltop2>
      <div align="left">&nbsp;&nbsp;&nbsp;
        <strong>
          &nbsp;&nbsp;&nbsp;当前位置: &nbsp;&nbsp;
          <a>公告信息</a>
        </strong>
      </div>
    </DIV>
    <DIV class=c_box>
      <form action="" method="post">
        <TABLE id=tbl_affiche  cellSpacing=0 cellPadding=4 width="100%" border=0>
          <TBODY>
            <TR>
              <TD class=rep_li_c2 width="10%" ALIGN="center">&nbsp;</TD>
              <TD class=rep_li_c2 width="20%" ALIGN="left">公告标题</TD>
              <TD class=rep_li_c2 width="60%" ALIGN="left">
                {{obj.name}}
              </TD>
              <TD class=rep_li_c2 width="10%" ALIGN="center">&nbsp;</TD>
            </TR>
            <TR>
              <TD class=rep_li_c2 width="10%" ALIGN="center">&nbsp;</TD>
              <TD class=rep_li_c2 width="20%" height="80" valign="top" ALIGN="left">详细信息</TD>
              <TD class=rep_li_c2 width="60%" ALIGN="left" valign="top">
                {{obj.info}}
              </TD>
              <TD class=rep_li_c2 width="10%" ALIGN="center">&nbsp;</TD>
            </TR>
            <TR>
              <TD class=rep_li_c2 width="10%" ALIGN="center">&nbsp;</TD>
              <TD class=rep_li_c2 width="20%" ALIGN="left">公告时间</TD>
              <TD class=rep_li_c2 width="60%" ALIGN="left">
                {{obj.date|date:"Y年n月j日h时i分"}}
              </TD>
              <TD class=rep_li_c2 width="10%" ALIGN="center">&nbsp;</TD>
            </TR>
            <TR>
              <TD class=rep_li_c2 width="10%" ALIGN="center">&nbsp;</TD>
              <TD class=rep_li_c2 width="20%" ALIGN="left">公告作者</TD>
              <TD class=rep_li_c2 width="60%" ALIGN="left">
                {{obj.user}}
              </TD>
              <TD class=rep_li_c2 width="10%" ALIGN="center">&nbsp;</TD>
            </TR>
            <TR>
              <TD class=rep_li_c2 colSpan=4 align="center">
              {% if perms.share.can_pub %}
                  <INPUT
                    onclick="location.href='/{%site_root%}/affiche/new/'"
                    onMouseOver="this.className='submit2'"
                    onMouseOut ="this.className='submit'"
                    class=submit
                    name="button"
                    type="button"
                    value="添加"
                    >
                  <INPUT
                  	onclick="location.href='{{obj.get_edit_link}}'"
                    onMouseOver="this.className='submit2'"
                    onMouseOut ="this.className='submit'"
                    class=submit
                    name="button"
                    type="button"
                    value="修改"
                    >
                  <INPUT
                    onclick="location.href='{{obj.get_del_link}}'"
                  	onMouseOver="this.className='submit2'"
                    onMouseOut ="this.className='submit'"
                    class=submit
                    name="button"
                    type=button
                    value="删除">
                <INPUT ONCLICK="history.go(-1);"
                       onMouseOver="this.className='submit2'"
                       onMouseOut ="this.className='submit'"
                       class=submit
                       name="button"
                       type=reset
                       value="返回" >
               {% endif %}
              </TD>
            </TR>
          </TBODY>
        </TABLE>
      </form>
    </DIV>
  </DIV>
</div>
{% endblock %}
